package org.example.main;

import org.apache.log4j.Logger;

public class YourClass {
    private static final Logger logger = Logger.getLogger(YourClass.class);

    public static void main(String[] args) {
        // 使用logger进行日志记录
        logger.info("This is an info log message.");
        logger.error("This is an error log message.");
    }
}
